package cn.s1995.sloth.bizs.oo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * SubmitOrderREQ
 *
 * @author Lex
 * @description
 * @date 2023/12/26 19:24
 */
@Data
@Schema(description = "提交订单")
public class SubmitOrderREQ {
    /**
     * 每个店铺提交的订单信息
     */
    @Schema(description = "每个店铺提交的订单信息", required = true)
    private List<OrderShopParam> orderShopParam;

    @Data
    public static class OrderShopParam {
        /**
         * 店铺ID
         **/
        @Schema(description = "店铺id", required = true)
        private Long shopId;

        /**
         * 订单备注信息
         */
        @Schema(description = "订单备注信息", required = false)
        private String remark;

    }
}
